
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace CRM.Models
{
       [Table("Province")]
       [Comment("国内省市")]
     public class Province:BaseModel
    {        
        /// <summary>
        /// 省市编码
        /// </summary>
        public int ProvinceId { get; set; }
        
        /// <summary>
        /// 注册地名称
        /// </summary>
        public string Provincename { get; set; }
        
        /// <summary>
        /// 数据来源
        /// </summary>
         [DefaultValue(1)]
        public int Datasources { get; set; }
        
        /// <summary>
        /// 新增时间
        /// </summary>
       
        public DateTime? Addtime { get; set; }=DateTime.Now;
        
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? Updatetime { get; set; }
              
        public List<TradeData> TradeDatas { get; set; }
    }
}